//
//  RegViewController.m
//  Koala_Fm
//
//  Created by dllo on 16/1/28.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "RegViewController.h"

@interface RegViewController ()

@end

@implementation RegViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.view.backgroundColor = [UIColor whiteColor];
   
    //
    UILabel *passLable = [[UILabel alloc]initWithFrame:CGRectMake(20, 100, 100, 30)];
//    passLable.backgroundColor = [UIColor blackColor];
    passLable.text = @"用户名";
    [self.view addSubview:passLable];
    [passLable release];
    //
    UILabel *phoneLable = [[UILabel alloc]initWithFrame:CGRectMake(20, 150, 100 ,30)];
    phoneLable.text = @"密码";
//    phoneLable.backgroundColor = [UIColor blackColor];
    [self.view addSubview:phoneLable];
    [phoneLable release];
    //
    UILabel *emailLable = [[UILabel alloc]initWithFrame:CGRectMake(20, 200, 100 ,30)];
    emailLable.text = @"确认密码";
//   emailLable.backgroundColor = [UIColor blackColor];
    [self.view addSubview:emailLable];
    [emailLable release];
    //
    UILabel * accountLable = [[UILabel alloc]initWithFrame:CGRectMake(20, 250, 100 ,30)];
     accountLable.text = @"手机号";
//   accountLable.backgroundColor = [UIColor blackColor];
    [self.view addSubview:accountLable];
    [accountLable release];
    //
    UILabel * countLable = [[UILabel alloc]initWithFrame:CGRectMake(20, 300, 100 ,30)];
    countLable.text = @"邮箱";
//   countLable.backgroundColor = [UIColor blackColor];
    [self.view addSubview:countLable];
    [countLable release];
    
    //
    //用户名
    UITextField *passText = [[UITextField alloc]initWithFrame:CGRectMake(150, 100, 200, 30)];
//    passText.backgroundColor = [UIColor redColor];
    [self.view addSubview:passText];
    passText.placeholder = @"请输入用户名";
    [passText release];
    //
    // 密码
    UITextField *phoneText = [[UITextField alloc]initWithFrame:CGRectMake(150 ,150 , 200, 30)];
//   phoneText.backgroundColor = [UIColor redColor];
    [self.view addSubview:phoneText];
   phoneText.placeholder = @"请输入密码";
    [phoneText release];
    //
    //密码
    UITextField *emailText = [[UITextField alloc]initWithFrame:CGRectMake(150, 200, 200, 30)];
//    emailText.backgroundColor = [UIColor redColor];
    [self.view addSubview:emailText];
    emailText.placeholder = @"请确认密码";
    [emailText release];
    //
    //确认密码
    UITextField *accountText = [[UITextField alloc]initWithFrame:CGRectMake(150, 250, 200, 30)];
//    accountText.backgroundColor = [UIColor redColor];
    [self.view addSubview:accountText];
    accountText.placeholder = @"手机号";
    [accountText release];
    //
    //
    UITextField *countText = [[UITextField alloc]initWithFrame:CGRectMake(150, 300, 200, 30)];
//    countText.backgroundColor = [UIColor redColor];
    [self.view addSubview:countText];
    countText.placeholder = @"邮箱";
    [countText release];
    
    
    
    
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
